/*
 * Generated via the com.flca generator
 */
package flca.voicenav;
 
import com.flca.Bootstrapper;
import com.flca.IAppContext;
import com.flca.servlet.StartupServletBase;
import javax.servlet.ServletException;
 
/**
 * The fq classname of the FlcaSetup is coming from the init-param : flca.setup
 * This may be either the classname, or the name of a system-property containing the fq classname.
 * In addition there is an init-param: flca.properties
 * Also this property may point to a properties file directly, or point to a system property containing the name of the properties file.
 */  
public class VoiceNavStartupServlet extends StartupServletBase
{
	private static final long serialVersionUID = 5374333894976175140L;
	@SuppressWarnings("unused")
	private static IAppContext starter;
	
	public VoiceNavStartupServlet() {
        super();
    }
	public void init() throws ServletException
    {
    	logInfo("Starting " + this.getClass().getName() + " ...");
		try {
			starter = Bootstrapper.startup(getGuiceModuleName());
		    logInfo(this.getClass().getName() + " succesfully ended");
		} catch (Throwable t) {
			logInfo("error in initialising services " + t);
			throw new RuntimeException(t);
		}
    }
}
